﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.8.0.js" type="text/javascript"></script>
    <script type="text/javascript">
        function closeWindown() {
            this.window.close();
        }
        function deleteId() {
            window.opener.deleteFeature();
            closeWindown();
        }
        function updateEdit() {
            window.opener.updateAfterEdit();
            closeWindown();
        }
        function setActive(_idplace, changestatus) {
            window.opener.setActiveShopmapId(_idplace, changestatus);
            window.opener.countNoneActiveShop();
            deleteId();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:HiddenField id="hd" Value="" runat="server" />
     <asp:Panel ID = "pnlModal" runat="server" BorderColor= "AliceBlue" BorderStyle="Solid" BorderWidth="2px" Width= "300px" Height = "500px"
            BackColor="AliceBlue"
            >
            <br /><br />
            <div id="inputArea">
                <asp:Label id="txtName" runat="Server" Text="Name" />
                <br />
                <asp:TextBox ID="BoxName" runat="Server" CssClass="idle" ToolTip="Name shop don't empty!"/>
                <br />
                <asp:Label ID="Description" runat="Server" Text ="Description" />
                <br />
                <asp:TextBox ID="BoxDes" runat="Server" CssClass="idle" ToolTip="Description shop don't empty!" />
                <br />
                <asp:Label ID="Address" runat="Server" Text ="Address" />
                <br />
                <asp:TextBox ID="BoxAddress" runat="Server" CssClass="idle" ToolTip="Address shop don't empty!"/>
                <br />
                <asp:Label ID="Tel" runat="server" Text="Tel" />
                <br />
                <asp:TextBox ID="BoxTel" runat="server" CssClass="idle" ToolTip="Tell shop don't empty!" />
                <br />
                <asp:label id="phone" runat="server" Text="Phone"/>
                <br />
                <asp:TextBox ID="Boxphone" runat="server" CssClass="idle" ToolTip="Phone shop don't empty!"/>
                <br />  
                 <asp:label id="image" runat="server" Text="Phone"/>
                <br />
                <asp:TextBox ID="Boximage" runat="server" CssClass="idle" ToolTip="Image shop don't empty!"/>
                <br />            
            </div>
            <asp:button id="btnOK" Text="OK" runat="server"  Width="90px" 
                onclick="btnOK_Click"/> 
             <asp:button id="btnDelete" Text="Delete" runat="server"  
                Width="90px" onclick="btnDelete_Click"/>    
            <asp:button id="btnCancel" Text="Cancel" runat="server" OnClientClick="closeWindown();" Width="90px"/>   
            </asp:Panel>
    </form>
</body>
</html>
